﻿namespace MMessaging.Test.Fahrstuhl.Engine
{
	public class ButtonStateInsideCabinWantFloor : ButtonStateInsideCabinBase<ButtonStateInsideCabinWantFloor>
	{
		public ButtonStateInsideCabinWantFloor(
			FloorEnum toFloorNo,
			bool pressed)
			: base(InsideCabinButtonType.WantFloorButton, toFloorNo, pressed)
		{
		}

		public override ButtonStateInsideCabinWantFloor CopyTypeSafe()
		{
			return new ButtonStateInsideCabinWantFloor(ToFloor, Pressed);
		}
	}
}